<!-- 产品 -->
<template>
  <div class="product">
    <ul>
      <li>
        <router-link to="/details">
          <i class="iconImg"></i>
          <div class="img">
            <img
              src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1553754741390&di=2c5b5c74e2cafddc7fc8ba7c00e2aa8d&imgtype=0&src=http%3A%2F%2Fi1.hdslb.com%2Fbfs%2Fface%2F1706de25174a3c2752440811c0133438352de617.jpg"
              alt
            >
          </div>
          <p>庄公子 天然蜂蜜自然洋槐花25ml*4瓶 蜂蜜冲饮直蜂蜜冲饮直蜂蜜冲饮直</p>
          <div class="price">
            <i class="iconImgPrice">券后</i>
            <span>$70.00</span>
            <em class="quan">券 45</em>
          </div>
        </router-link>
      </li>
      <li>
        <router-link to="/details">
          <i class="iconImg"></i>
          <div class="img">
            <img
              src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1553754741390&di=2c5b5c74e2cafddc7fc8ba7c00e2aa8d&imgtype=0&src=http%3A%2F%2Fi1.hdslb.com%2Fbfs%2Fface%2F1706de25174a3c2752440811c0133438352de617.jpg"
              alt
            >
          </div>
          <p>庄公子 天然蜂蜜自然洋槐花25ml*4瓶 蜂蜜冲饮直蜂蜜冲饮直蜂蜜冲饮直</p>
          <div class="price">
            <i class="iconImgPrice">券后</i>
            <span>$70.00</span>
            <em class="quan">券 45</em>
          </div>
        </router-link>
      </li>
      <li>
        <router-link to="/details">
          <i class="iconImg"></i>
          <div class="img">
            <img
              src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1553754741390&di=2c5b5c74e2cafddc7fc8ba7c00e2aa8d&imgtype=0&src=http%3A%2F%2Fi1.hdslb.com%2Fbfs%2Fface%2F1706de25174a3c2752440811c0133438352de617.jpg"
              alt
            >
          </div>
          <p>庄公子 天然蜂蜜自然洋槐花25ml*4瓶 蜂蜜冲饮直蜂蜜冲饮直蜂蜜冲饮直</p>
          <div class="price">
            <i class="iconImgPrice">券后</i>
            <span>$70.00</span>
            <em class="quan">券 45</em>
          </div>
        </router-link>
      </li>
      <li>
        <router-link to="/details">
          <i class="iconImg"></i>
          <div class="img">
            <img
              src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1553754741390&di=2c5b5c74e2cafddc7fc8ba7c00e2aa8d&imgtype=0&src=http%3A%2F%2Fi1.hdslb.com%2Fbfs%2Fface%2F1706de25174a3c2752440811c0133438352de617.jpg"
              alt
            >
          </div>
          <p>庄公子 天然蜂蜜自然洋槐花25ml*4瓶 蜂蜜冲饮直蜂蜜冲饮直蜂蜜冲饮直</p>
          <div class="price">
            <i class="iconImgPrice">券后</i>
            <span>$70.00</span>
            <em class="quan">券 45</em>
          </div>
        </router-link>
      </li>
      <li>
        <router-link to="/details">
          <i class="iconImg"></i>
          <div class="img">
            <img
              src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1553754741390&di=2c5b5c74e2cafddc7fc8ba7c00e2aa8d&imgtype=0&src=http%3A%2F%2Fi1.hdslb.com%2Fbfs%2Fface%2F1706de25174a3c2752440811c0133438352de617.jpg"
              alt
            >
          </div>
          <p>庄公子 天然蜂蜜自然洋槐花25ml*4瓶 蜂蜜冲饮直蜂蜜冲饮直蜂蜜冲饮直</p>
          <div class="price">
            <i class="iconImgPrice">券后</i>
            <span>$70.00</span>
            <em class="quan">券 45</em>
          </div>
        </router-link>
      </li>
      <li>
        <router-link to="/details">
          <i class="iconImg"></i>
          <div class="img">
            <img
              src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1553754741390&di=2c5b5c74e2cafddc7fc8ba7c00e2aa8d&imgtype=0&src=http%3A%2F%2Fi1.hdslb.com%2Fbfs%2Fface%2F1706de25174a3c2752440811c0133438352de617.jpg"
              alt
            >
          </div>
          <p>庄公子 天然蜂蜜自然洋槐花25ml*4瓶 蜂蜜冲饮直蜂蜜冲饮直蜂蜜冲饮直</p>
          <div class="price">
            <i class="iconImgPrice">券后</i>
            <span>$70.00</span>
            <em class="quan">券 45</em>
          </div>
        </router-link>
      </li>
      <li>
        <router-link to="/details">
          <i class="iconImg"></i>
          <div class="img">
            <img
              src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1553754741390&di=2c5b5c74e2cafddc7fc8ba7c00e2aa8d&imgtype=0&src=http%3A%2F%2Fi1.hdslb.com%2Fbfs%2Fface%2F1706de25174a3c2752440811c0133438352de617.jpg"
              alt
            >
          </div>
          <p>庄公子 天然蜂蜜自然洋槐花25ml*4瓶 蜂蜜冲饮直蜂蜜冲饮直蜂蜜冲饮直</p>
          <div class="price">
            <i class="iconImgPrice">券后</i>
            <span>$70.00</span>
            <em class="quan">券 45</em>
          </div>
        </router-link>
      </li>
      <li>
        <router-link to="/details">
          <i class="iconImg"></i>
          <div class="img">
            <img
              src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1553754741390&di=2c5b5c74e2cafddc7fc8ba7c00e2aa8d&imgtype=0&src=http%3A%2F%2Fi1.hdslb.com%2Fbfs%2Fface%2F1706de25174a3c2752440811c0133438352de617.jpg"
              alt
            >
          </div>
          <p>庄公子 天然蜂蜜自然洋槐花25ml*4瓶 蜂蜜冲饮直蜂蜜冲饮直蜂蜜冲饮直</p>
          <div class="price">
            <i class="iconImgPrice">券后</i>
            <span>$70.00</span>
            <em class="quan">券 45</em>
          </div>
        </router-link>
      </li>
      
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  components: {},
  computed: {},
  mounted() {},
  methods: {}
};
</script>
<style lang='scss' scoped>
@import "../../common/css/mixin.scss";
.product {
  width: 100%;
  display: inline-block;
  li {
    float: left;
    width: calc((100% - 30px) - 50%);
    margin-left: 20px;
    margin-top: 20px;
    position: relative;
    background: #fff;
    .iconImg {
      @include bg-image("../../assets/home/热卖");
      width: 28px;
      height: 57px;
      position: absolute;
      left: 20px;
      top: 0;
    }
    .img {
      width: 100%;
      height: 345px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    p {
      font-size: 26px;
      color: #000;
      margin-top: 20px;
      line-height: 40px;
      text-align: left;
      padding: 0 10px;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }
  }
  .price {
    text-align: left;
    line-height: 75px;
    position: relative;
    .iconImgPrice {
      margin-left: 20px;
      margin-right: 11px;
      display: inline-block;
      vertical-align: middle;
      font-size: 24px;
      color: #888;
      font-style: normal;
    }
    span {
      color: #ff3548;
      font-size: 32px;
      vertical-align: middle;
      margin-right: 21px;
    }
    del {
      font-size: 22px;
      color: #a3a3a3;
      vertical-align: middle;
    }
    .quan {
      @include bg-image("../../assets/home/形状 11");
      font-size: 20px;
      color: #fff;
      position: absolute;
      right: 18px;
      top: 25px;
      display: inline-block;
      width: 78px;
      height: 28px;
      line-height: 28px;
      text-align: center;
      font-style: normal;
    }
  }
}
</style>